clear
echo 工作路径：
pwd
echo 运行脚本：
echo $0
echo
echo 运行脚本里的命令：
echo './build.sh -e cpu_diff -d -b -s -a "-i inst_diff.bin  --wave-path=wave.vcd --dump-wave -b 0"'
echo
echo 命令输出：
./build.sh -e cpu_diff -d -b -s -a "-i inst_diff.bin  --wave-path=wave.vcd --dump-wave -b 0"
exit
#./build.sh -e cpu_diff -d -b -s -a "-i inst_diff.bin"
#./build.sh -e chisel_cpu_diff -d -b -s -a "-i inst_diff.bin"
#./build.sh -e cpu_axi_diff -d -b -s -a "-i inst_diff.bin" -m "WITH_DRAMSIM3=1"
#echo "上面都pass，cpu_axi_diff的cycleCnt比前两者大很多"
#exit
#搜total guest instructions
#搜各种difftest的输出，simple-riscv-tests，sum-cpu-tests，jal-riscv-tests的指令少一些，先从简单的做起
echo 洪志博说chisel_cpu_diff的demo会把没有实现的指令当做空指令并且不做提交，所以执行到最后就变成pass了
echo './build.sh -e chisel_cpu_diff -d -b -s -a "-i non-output/riscv-tests/simple-riscv-tests.bin --wave-path=wave.vcd --dump-wave -b 0" -m "EMU_TRACE=1"'
echo 洪志博说chisel_cpu_diff的demo会把没有实现的指令当做空指令并且不做提交，所以执行到最后就变成pass了
./build.sh -e chisel_cpu_diff -d -b -s -a "-i non-output/riscv-tests/simple-riscv-tests.bin --wave-path=wave.vcd --dump-wave -b 0" -m "EMU_TRACE=1"
echo 洪志博说chisel_cpu_diff的demo会把没有实现的指令当做空指令并且不做提交，所以执行到最后就变成pass了
echo './build.sh -e cpu_diff -d -b -s -a "-i non-output/riscv-tests/simple-riscv-tests.bin --wave-path=wave.vcd --dump-wave -b 0"'
./build.sh -e cpu_diff -d -b -s -a "-i non-output/riscv-tests/simple-riscv-tests.bin --wave-path=wave.vcd --dump-wave -b 0"
exit
#./build.sh -t ysyx_210686.v -e cpu_axi_diff -d -b -s -a "-i non-output/riscv-tests/simple-riscv-tests.bin" -m "WITH_DRAMSIM3=1"
#同上
./build.sh -e cpu_axi_diff -d -b -s -a "-i non-output/riscv-tests/simple-riscv-tests.bin" -m "WITH_DRAMSIM3=1"